Crate sn_interface
source ·Expand description
SAFE network data types.
Re-exports
pub use network_knowledge::elder_count;
pub use network_knowledge::SectionAuthorityProvider;
Modules
- The Safe Network messaging interface.
- Instrumentation for statemaps: https://github.com/TritonDataCenter/statemap
- SAFE network data types.
Structs
- Tracing log formatter setup for easier span viewing
Functions
- Get the expected chunk copy count for our network. Defaults to
DEFAULT_DATA_COPY_COUNT
, but can be overridden by the env varSN_DATA_COPY_COUNT
. - Max number of faulty Elders is assumed to be less than 1/3. So it’s no more than 2 with 7 Elders.